import commonLayout from '@/layout/admin/common';
export default [{
	path: "training",
	name: "adminTraining",
	meta: {
		title: "在线学习"
	},
	component: () => import("@/views/admin/training/index")
}, {
	path: "training/:id",
	name: "adminTrainingManage",
	meta: {
		title: "在线学习"
	},
	redirect: "training/:id/baseinfo",
	component: () => import("@/views/admin/training/manage/index"),
	children: [{
		path: "baseinfo",
		name: "adminTrainingBaseinfo",
		meta: {
			title: "基本信息"
		},
		component: () => import("@/views/admin/training/manage/baseinfo/index")
	}, {
		path: "chapter",
		name: "adminTrainingChapter",
		meta: {
			title: "章节管理"
		},
		component: () => import("@/views/admin/training/manage/chapter/index")
	}, {
		path: "attachment",
		name: "adminTrainingAttachment",
		meta: {
			title: "素材附件管理"
		},
		component: () => import("@/views/admin/training/manage/attachment/index")
	}, {
		path: "student",
		name: "adminTrainingStudent",
		meta: {
			title: "学员管理"
		},
		component: () => import("@/views/admin/training/manage/student/index")
	}]
}]